<div class="row">
                        
    <div class="col-lg-12">
        <div class="panel panel-default">
            <div class="panel-heading">
                <div class="icon"><i class="icon20 i-stack-list"></i></div>
                <h4><?= trans('title_form_create') ?></h4>
                <a href="#" class="minimize"></a>
            </div><!-- End .panel-heading -->
        
            <div class="panel-body">
                
                <form id="form" class="form-horizontal" role="form" method="post">

                    <div class="form-group">
                        <label class="col-lg-2 control-label"><?= trans('title_keyword') ?></label>
                        <div class="col-lg-10">
                            <input type="text" class="required form-control" name="keyword" value="<?= isset($_POST['keyword']) ? $_POST['keyword'] : '' ?>">
                        </div>
                    </div>

                    <hr style="width:100%; color:#ccc;"></hr>

                    <div class="panel-body noPadding">
                        <ul id="myTab" class="nav nav-tabs">
                            <?php
                            $i=0;
                            foreach($language as $lang){
                                if($i==0){
                                    echo '<li class="active"><a href="#'.$lang['lang_code'].'" data-toggle="tab">'.trans('title_translate_'.$lang['lang_code']).'</a></li>';
                                }else{
                                    echo '<li><a href="#'.$lang['lang_code'].'" data-toggle="tab">'.trans('title_translate_'.$lang['lang_code']).'</a></li>';
                                }
                                $i++;
                            }
                            ?>
                        </ul>

                        <div class="tab-content">
                            <?php
                            $i=0;
                            foreach($language as $lang){
                                if($i == 0){
                                    echo '<div class="tab-pane fade in active form-group" id="'.$lang['lang_code'].'">';
                                }else{
                                    echo '<div class="tab-pane fade form-group" id="'.$lang['lang_code'].'">';
                                }
                            ?>
                                    <label class="col-lg-2 control-label"><?= trans('title_translate_'.$lang['lang_code']) ?></label>
                                    <div class="col-lg-10">
                                        <input type="text" class="required form-control" name="translate_<?= $lang['lang_code'] ?>" value="<?= isset($_POST['translate_'.$lang['lang_code']]) ? $_POST['translate_'.$lang['lang_code']] : '' ?>">
                                    </div>
                                </div>
                            <?php
                                $i++;
                            }
                            ?>
                        </div>    
                    </div><!-- End .panel-body -->
                    
                <div class="clear"></div>

                    <div class="form-group">
                        
                        <div class="col-lg-offset-2">
                            <div class="pad-left15">
                                <button type="submit" class="btn btn-primary"><?= trans('btt_save') ?></button>
                                <button type="button" class="btn"><?= trans('btt_cancel') ?></button>
                            </div>
                        </div>
                    </div>
        
                </form>

            </div><!-- End .panel-body -->
        </div><!-- End .widget -->
    </div><!-- End .col-lg-6  -->
</div>